﻿<%@ Page Title="MinuKohvik :: " Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Menu.aspx.cs" Inherits="Kohvik_Menu" %>

<%--LISATUD: SEE OSA SAI LISATUD HTML EDITOR'I LISAMISEKS! LK--%>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor" TagPrefix="HTMLEditor" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="Server">
    <h2>
        <asp:Label ID="lbKohvikuNimi" runat="server" />
        <asp:PlaceHolder ID="ph_Facebook" runat="server" />        
    </h2>

    <%--LISATUD: SEE OSA SAI LISATUD HTML EDITOR'I LISAMISEKS! LK--%>
    <br />
    <div ID="divKirjeldus" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    </div>
    <br />

    <div id="divKommJaPilt" style="float: right; text-align:right;" runat="server" >
        <asp:HyperLink ID="linkKohvikuKomm" runat="server">Kommenteeri kohvikut</asp:HyperLink>
        <br />
        <asp:HyperLink ID="linkSoodustused" runat="server">Soodustused</asp:HyperLink>
        <br />
        <asp:Image style="text-align:center;" ID="imgKohvikuPilt" runat="server" Width="300" Height="200" />
        <br />
        <asp:Label ID="lbl_Lahtiolek" runat="server" />
    </div>
    <p>
        <asp:Label ID="lblMenuToday" runat="server" Font-Size="Large" />
    </p>
    <p>
        <asp:PlaceHolder ID="ph_MenusToday" runat="server" />
    </p>
    <hr />
    <p>
        <asp:Label ID="lblMenuNotToday" runat="server" Font-Size="Large" />
    </p>
    <p>
        <asp:PlaceHolder ID="ph_MenusNotToday" runat="server" />
    </p>
    <br />
    <asp:PlaceHolder ID="ph_lisaMenu" runat="server">
        <div style="float:left">
            <fieldset style="width: auto; font-size: 0.9em;">
                <legend>Lisa uus menüü</legend><!--  -->            
                Menüü nimetus:
                <asp:TextBox ID="tb_LisaMenu" runat="server" Text="Uus menüü" />&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="btn_LisaMenu" runat="server" Text=" Lisa " OnClick="btn_LisaMenu_Click" CssClass="btn" />
                <asp:Label ID="lblCheck" runat="server" Text=""></asp:Label>
                <br />
                <asp:RequiredFieldValidator ID="rfv_tbLisamenu" runat="server" ErrorMessage="Sisesta menüü nimetus."
                    ControlToValidate="tb_LisaMenu" ForeColor="Red" />
            </fieldset><!--  -->
        </div>
        <div style="float:left; margin-left:10px">
            <fieldset style="width: auto; font-size: 0.9em;">
               <legend>Lisa olemasolev menüü</legend>
                   <asp:DropDownList ID="ddl_Menyy" runat="server" />&nbsp;&nbsp;&nbsp;&nbsp;
                   <asp:Button ID="btnLisaExist" runat="server" Text=" Lisa " OnClick="btnLisaExist_Click" CssClass="btn" />
            </fieldset>
        </div>
    </asp:PlaceHolder>
    <p>
        <asp:Label ID="lblTest" runat="server" />
    </p>
</asp:Content>
